package com.shitou.shitoucommons.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * class detail:
 *
 * @author 石头人
 */
@SuppressWarnings("all")
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class MessageVo implements Serializable {
    private String from;
    private String to;
    private String text;

    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public Date date;

    private Long messagingId;   // 站内信id
}
